﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.mssql
{
	// Token: 0x0200017A RID: 378
	public class TMssqlGrant : TCustomSqlStatement
	{
		// Token: 0x06000D2B RID: 3371 RVA: 0x003085F0 File Offset: 0x003067F0
		public TMssqlGrant(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstmssqlgrant;
		}

		// Token: 0x06000D2C RID: 3372 RVA: 0x00308601 File Offset: 0x00306801
		internal override void buildsql()
		{
		}

		// Token: 0x06000D2D RID: 3373 RVA: 0x00308603 File Offset: 0x00306803
		internal override void clear()
		{
		}

		// Token: 0x06000D2E RID: 3374 RVA: 0x00308605 File Offset: 0x00306805
		internal override string getasprettytext()
		{
			return "";
		}

		// Token: 0x06000D2F RID: 3375 RVA: 0x0030860C File Offset: 0x0030680C
		internal virtual void iterate(TVisitorAbs pvisitor)
		{
		}

		// Token: 0x06000D30 RID: 3376 RVA: 0x0030860E File Offset: 0x0030680E
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000D31 RID: 3377 RVA: 0x00308623 File Offset: 0x00306823
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000D32 RID: 3378 RVA: 0x00308633 File Offset: 0x00306833
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
